﻿namespace MortgageCalc
{
    partial class Form1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
            this.txtLoan = new System.Windows.Forms.TextBox();
            this.txtInterest = new System.Windows.Forms.TextBox();
            this.txtMonthly = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.txtPeriod = new System.Windows.Forms.TextBox();
            this.btnCalculate = new System.Windows.Forms.Button();
            this.dgvAmortization = new System.Windows.Forms.DataGridView();
            this.MonthNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.TotalLoan = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Principal = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.PrincipalToDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Interest = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.TotalInterest = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Balance = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label8 = new System.Windows.Forms.Label();
            this.txtDown = new System.Windows.Forms.TextBox();
            this.cmbDown = new System.Windows.Forms.ComboBox();
            this.cmbLoan = new System.Windows.Forms.ComboBox();
            ((System.ComponentModel.ISupportInitialize)(this.dgvAmortization)).BeginInit();
            this.SuspendLayout();
            // 
            // txtLoan
            // 
            this.txtLoan.Location = new System.Drawing.Point(92, 55);
            this.txtLoan.Name = "txtLoan";
            this.txtLoan.Size = new System.Drawing.Size(99, 20);
            this.txtLoan.TabIndex = 0;
            this.txtLoan.Text = "400000";
            // 
            // txtInterest
            // 
            this.txtInterest.Location = new System.Drawing.Point(92, 94);
            this.txtInterest.Name = "txtInterest";
            this.txtInterest.Size = new System.Drawing.Size(61, 20);
            this.txtInterest.TabIndex = 1;
            this.txtInterest.Text = "3.5";
            // 
            // txtMonthly
            // 
            this.txtMonthly.Location = new System.Drawing.Point(92, 215);
            this.txtMonthly.Name = "txtMonthly";
            this.txtMonthly.ReadOnly = true;
            this.txtMonthly.Size = new System.Drawing.Size(92, 20);
            this.txtMonthly.TabIndex = 2;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(2, 58);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(31, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "Loan";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(2, 97);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(42, 13);
            this.label2.TabIndex = 4;
            this.label2.Text = "Interest";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(2, 218);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(87, 13);
            this.label3.TabIndex = 5;
            this.label3.Text = "Monthly payment";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(159, 96);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(15, 13);
            this.label4.TabIndex = 6;
            this.label4.Text = "%";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(2, 178);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(63, 13);
            this.label5.TabIndex = 8;
            this.label5.Text = "Loan period";
            // 
            // txtPeriod
            // 
            this.txtPeriod.Location = new System.Drawing.Point(92, 175);
            this.txtPeriod.Name = "txtPeriod";
            this.txtPeriod.Size = new System.Drawing.Size(61, 20);
            this.txtPeriod.TabIndex = 7;
            this.txtPeriod.Text = "15";
            // 
            // btnCalculate
            // 
            this.btnCalculate.BackColor = System.Drawing.Color.DodgerBlue;
            this.btnCalculate.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnCalculate.ForeColor = System.Drawing.Color.White;
            this.btnCalculate.Location = new System.Drawing.Point(50, 308);
            this.btnCalculate.Name = "btnCalculate";
            this.btnCalculate.Size = new System.Drawing.Size(187, 52);
            this.btnCalculate.TabIndex = 9;
            this.btnCalculate.Text = "Calculate Payment";
            this.btnCalculate.UseVisualStyleBackColor = false;
            this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click);
            // 
            // dgvAmortization
            // 
            this.dgvAmortization.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvAmortization.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.MonthNumber,
            this.TotalLoan,
            this.Principal,
            this.PrincipalToDate,
            this.Interest,
            this.TotalInterest,
            this.Balance});
            this.dgvAmortization.Location = new System.Drawing.Point(281, 12);
            this.dgvAmortization.Name = "dgvAmortization";
            this.dgvAmortization.Size = new System.Drawing.Size(774, 457);
            this.dgvAmortization.TabIndex = 11;
            // 
            // MonthNumber
            // 
            this.MonthNumber.DataPropertyName = "MonthNumber";
            dataGridViewCellStyle15.NullValue = "0";
            this.MonthNumber.DefaultCellStyle = dataGridViewCellStyle15;
            this.MonthNumber.HeaderText = "#";
            this.MonthNumber.Name = "MonthNumber";
            this.MonthNumber.Width = 70;
            // 
            // TotalLoan
            // 
            this.TotalLoan.DataPropertyName = "TotalLoan";
            dataGridViewCellStyle16.Format = "C2";
            dataGridViewCellStyle16.NullValue = "0";
            this.TotalLoan.DefaultCellStyle = dataGridViewCellStyle16;
            this.TotalLoan.HeaderText = "Loan";
            this.TotalLoan.Name = "TotalLoan";
            // 
            // Principal
            // 
            this.Principal.DataPropertyName = "Principal";
            dataGridViewCellStyle17.Format = "C2";
            dataGridViewCellStyle17.NullValue = "0";
            this.Principal.DefaultCellStyle = dataGridViewCellStyle17;
            this.Principal.HeaderText = "Principal";
            this.Principal.Name = "Principal";
            // 
            // PrincipalToDate
            // 
            this.PrincipalToDate.DataPropertyName = "PrincipalToDate";
            dataGridViewCellStyle18.Format = "C2";
            dataGridViewCellStyle18.NullValue = "0";
            this.PrincipalToDate.DefaultCellStyle = dataGridViewCellStyle18;
            this.PrincipalToDate.HeaderText = "Principal To Date";
            this.PrincipalToDate.Name = "PrincipalToDate";
            this.PrincipalToDate.Width = 120;
            // 
            // Interest
            // 
            this.Interest.DataPropertyName = "Interest";
            dataGridViewCellStyle19.Format = "C2";
            dataGridViewCellStyle19.NullValue = "0";
            this.Interest.DefaultCellStyle = dataGridViewCellStyle19;
            this.Interest.HeaderText = "Interest";
            this.Interest.Name = "Interest";
            // 
            // TotalInterest
            // 
            this.TotalInterest.DataPropertyName = "InterestToDate";
            dataGridViewCellStyle20.Format = "C2";
            dataGridViewCellStyle20.NullValue = "0";
            this.TotalInterest.DefaultCellStyle = dataGridViewCellStyle20;
            this.TotalInterest.HeaderText = "Interest to date";
            this.TotalInterest.Name = "TotalInterest";
            this.TotalInterest.Width = 120;
            // 
            // Balance
            // 
            this.Balance.DataPropertyName = "Balance";
            dataGridViewCellStyle21.Format = "C2";
            dataGridViewCellStyle21.NullValue = "0";
            this.Balance.DefaultCellStyle = dataGridViewCellStyle21;
            this.Balance.HeaderText = "Balance";
            this.Balance.Name = "Balance";
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(2, 137);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(79, 13);
            this.label8.TabIndex = 13;
            this.label8.Text = "Down Payment";
            // 
            // txtDown
            // 
            this.txtDown.Location = new System.Drawing.Point(92, 135);
            this.txtDown.Name = "txtDown";
            this.txtDown.Size = new System.Drawing.Size(61, 20);
            this.txtDown.TabIndex = 12;
            this.txtDown.Text = "20";
            // 
            // cmbDown
            // 
            this.cmbDown.FormattingEnabled = true;
            this.cmbDown.Items.AddRange(new object[] {
            "%",
            "amount"});
            this.cmbDown.Location = new System.Drawing.Point(162, 135);
            this.cmbDown.Name = "cmbDown";
            this.cmbDown.Size = new System.Drawing.Size(75, 21);
            this.cmbDown.TabIndex = 15;
            // 
            // cmbLoan
            // 
            this.cmbLoan.FormattingEnabled = true;
            this.cmbLoan.Items.AddRange(new object[] {
            "years",
            "months"});
            this.cmbLoan.Location = new System.Drawing.Point(162, 175);
            this.cmbLoan.Name = "cmbLoan";
            this.cmbLoan.Size = new System.Drawing.Size(75, 21);
            this.cmbLoan.TabIndex = 16;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1067, 481);
            this.Controls.Add(this.cmbLoan);
            this.Controls.Add(this.cmbDown);
            this.Controls.Add(this.label8);
            this.Controls.Add(this.txtDown);
            this.Controls.Add(this.dgvAmortization);
            this.Controls.Add(this.btnCalculate);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.txtPeriod);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.txtMonthly);
            this.Controls.Add(this.txtInterest);
            this.Controls.Add(this.txtLoan);
            this.MaximizeBox = false;
            this.Name = "Form1";
            this.Text = "Mortgage calculator";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.dgvAmortization)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.TextBox txtLoan;
        private System.Windows.Forms.TextBox txtInterest;
        private System.Windows.Forms.TextBox txtMonthly;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox txtPeriod;
        private System.Windows.Forms.Button btnCalculate;
        private System.Windows.Forms.DataGridView dgvAmortization;
        private System.Windows.Forms.DataGridViewTextBoxColumn MonthNumber;
        private System.Windows.Forms.DataGridViewTextBoxColumn TotalLoan;
        private System.Windows.Forms.DataGridViewTextBoxColumn Principal;
        private System.Windows.Forms.DataGridViewTextBoxColumn PrincipalToDate;
        private System.Windows.Forms.DataGridViewTextBoxColumn Interest;
        private System.Windows.Forms.DataGridViewTextBoxColumn TotalInterest;
        private System.Windows.Forms.DataGridViewTextBoxColumn Balance;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.TextBox txtDown;
        private System.Windows.Forms.ComboBox cmbDown;
        private System.Windows.Forms.ComboBox cmbLoan;
    }
}

